import request from '@/utils/request'
import {appConfig} from "../../config/app";

let service = appConfig.microServModules.mall + 'api/xbWallet'

/**
 * 收支明细
 * */
 
export function queryTradeDetail (data) {
  return request(`${service}/queryTradeDetail`, {method: 'post', data: data})
}

/**
 * 钱包余额
 * */
 
export function balanceInquiry (data) {
  return request(`${service}/balanceInquiry`, {method: 'get', data: data})
}


/**
 * 绑卡列表
 * */
 
export function queryBindCards (data) {
  return request(`${service}/queryBindCards`, {method: 'get', data: data})
}

/**
 * 交易状态
 * */

export function queryBusiStatus (data) {
  return request(`${service}/queryBusiStatus`, {method: 'get', data: data})
}

/**
 * 双方钱包
 * */
 
export function queryPaymentWallet (data) {
  return request(`${service}/queryPaymentWallet`, {method: 'get', data: data})
}

/**
 * 钱包信息
 * */
 
export function queryWallet (data) {
  return request(`${service}/queryWallet`, {method: 'get', data: data})
}

